<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/base/base.jsp"%>
<%@ include file="/base/database.jsp" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title>学生名单</title>
<link rel="stylesheet" href="css/pintuer.css">
<link rel="stylesheet" href="css/admin.css">
<link rel="shortcut icon" href="images/logo.jpg">
<script src="js/jquery.js"></script>
<script src="js/pintuer.js"></script>

</head>

<body>

  <div class="panel admin-panel">
    <div class="panel-head"><strong class="icon-reorder">学生名单</strong> </div>
    <div class="padding border-bottom">
      <ul class="search" style="padding-left:10px;">
        <li style="color:blue;font-size:16px;">按学生姓名搜索：</li>
       <form method="post" action="">
          <input type="text" placeholder="请输入搜索关键字" name="leaveID" class="input" style="width:250px; line-height:17px;display:inline-block" value="" />
          <input type="submit" class="panel-head" value="查询" style="font-size:15pt">
          <button class="button bg-main icon-check-square-o" type="button" onclick="window.location.href='student_leave.jsp'">返回</button></form>
			 
      </ul>
    </div>
    <table class="table table-hover text-center">
      <tr>     
                <th>序号</th>
				<th>请假编号</th>
				<th>课程编号</th>
				<th>请假事由</th>
				<th>天数</th>
				<th>学号</th>
				<th>请假时间</th>
				<th>审核时间</th>
				<th>状态</th>
				<th>审核意见</th>
				
      </tr>
    
			<%
				String rs_leaveID=(String)session.getAttribute("rs_leaveID");
				String rs_courseID=(String)session.getAttribute("rs_courseID");
				String rs_reason=(String)session.getAttribute("rs_reason");
				String rs_daynum=(String)session.getAttribute("rs_daynum");
				String rs_stuNo=(String)session.getAttribute("rs_stuNo");
				String rs_applytime=(String)session.getAttribute("rs_applytime");
				String rs_audittime=(String)session.getAttribute("rs_audittime");
				String rs_opinion=(String)session.getAttribute("rs_opinion");
				String rs_status=(String)session.getAttribute("rs_status");
				
				int index=1;
			%>	
				
			
			

			<tr>
				 <td><%=index++ %></td>
				<td><%=rs_leaveID%></td>				
				<td><%=rs_courseID %></td>
				<td><%=rs_reason%></td>
				<td><%=rs_daynum %></td>				
				<td><%=rs_stuNo%></td>
				<td><%=rs_applytime %></td>
				<td><%=rs_audittime %></td>					
				<td><%=rs_status%></td>
				<td><%=rs_opinion%></td>
				<td><div class="button-group">
				 <a class="button border-main" href="<%=path%>/page/student/student_editleave.jsp?rs_leaveID=<%=rs_leaveID%>"><span class="icon-edit"></span>可重新修改填写请假申请</a></div></td>
			</tr>
	
    </table>
  </div>
</body>
</html>
